package com.tanovo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OauthConfig {
    @Bean
    public UserInfoFeighClientIntercepter setUserInfoFeighClientIntercepter() {
        return new UserInfoFeighClientIntercepter();
    }

    @Bean
    public UserInfoFilter setUserInfoFilter() {
        return new UserInfoFilter();
    }
}
